Method, device and non-transitory storage medium for measuring remaining amount of abrasive for edger

ABSTRACT

Disclosed is a method for measuring a remaining amount of the abrasive for an edger. The edger includes a cover and an abrase wheel installed inside the cover, a bottom surface of the cover is parallel to a rotating shaft of the abrase wheel, abrasives are outside an outer wheel of the abrase wheel, in which a distance sensor is installed on an inner wall of the bottom surface of the cover, and the method for measuring the remaining amount of the abrasive for the edger includes: acquiring distance data detected by the distance sensor; acquiring the remaining amount of the abrasive according to the distance data.

CROSS REFERENCE TO RELATED APPLICATIONS

The present application claims the priority of Chinese PatentApplication filed in the National Intellectual Property Administrationon Jul. 28, 2020, with the application number 202010741261.4 and title“Method, device and non-transitory storage medium for measuringremaining amount of abrasive for edger”, the entire contents of whichare hereby incorporated by reference.

TECHNICAL FIELD

The present disclosure relates to the field of glass manufacture device,in particular to a method, a device and a non-transitory storage mediumfor measuring remaining amount of abrasives for edger.

BACKGROUND

The edger abrases the glass cross section by rotating the abrase wheel,so that the abrasive outside the outer wheel of the abrase wheel cangrind the glass cross section smoothly and avoid scratching the user. Inthe grinding process, the abrasive is constantly consumed. The less theresidual material, the more undesired in regards to the processingcapability of the edger. Thus, it is necessary to measure the remainingamount of the abrasive to ensure that this amount is within the normalworking range. At present, the remaining amount of the abrasive isgenerally measured manually, typically by a manual ruler. The grinderhas to stop working for the manual measurement, as the remaining amountcannot be known under working of the edger. The glass cross sectionunder the work of the edger will not meet the standard if the remainingamount is insufficient. At present the remaining amount of abrasivescannot be measured in the working state of the edger.

The aforementioned is assistant in understanding the technical solutionof the present application, and does not necessarily admit that theaforementioned constitutes the prior art.

SUMMARY

The present disclosure is to provide a method, a device and anon-transitory storage medium for measuring the remaining amount ofabrasives, to solve the technical problem that the remaining amount ofabrasives can not be measured under the working state of the edger.

In order to achieve the above purpose, the present disclosure provides amethod for measuring a remaining amount of the abrasive for an edger.The edger includes a cover and an abrase wheel installed inside thecover, a bottom surface of the cover is parallel to a rotating shaft ofthe abrase wheel, abrasives are outside an outer wheel of the abrasewheel, wherein a distance sensor is installed on an inner wall of thebottom surface of the cover, and the method for measuring the remainingamount of the abrasive for the edger includes: acquiring distance datadetected by the distance sensor; acquiring the remaining amount of theabrasive according to the distance data.

In an embodiment, the operation of acquiring the remaining amount of theabrasive according to the distance data includes: acquiring aconsumption amount of the abrasive according to an initial distancebetween the distance sensor and the abrasive, and the distance data; andacquiring the remaining amount of the abrasive according to theconsumption amount.

In an embodiment, prior to the operation of acquiring a consumptionamount of the abrasive according to an initial distance between thedistance sensor and the abrasive, and the distance data, the methodfurther includes: acquiring the initial distance detected by thedistance sensor, when the abrasive is detected to have been installed.

In an embodiment, the edger includes two covers and abrase wheelsrespectively installed in the two covers, the outer wheels of the twoabrase wheels are arranged in a staggered way, the distance sensor isinstalled on the inner wall of the bottom surface of each cover, andeach distance sensor is preset with a unique identifier, the operationof acquiring the remaining amount of the abrasive according to thedistance data includes: acquiring the remaining amount of the abrasiveaccording to the distance data; acquiring an identifier of a targetdistance sensor corresponding to the distance data, and acquiringidentity information of abrasives installed in the cover correspondingto the target distance sensor; outputting the identity information ofthe abrasive and the associated remaining amount.

In an embodiment, the edger comprises an alarm device, and the methodfor measuring the remaining amount of the abrasive of the edger furtherincludes: outputting, by the the alarm device, alarm information whenthe remaining amount is less than or equal to a preset value.

In order to achieve the above purpose, the present disclosure provides adevice of measuring a remaining amount of the abrasive for an edger. Theedger includes a cover and an abrase wheel installed inside the cover, abottom surface of the cover is parallel to a rotating shaft of theabrase wheel, abrasives are outside an outer wheel of the abrase wheel,wherein a distance sensor is installed on an inner wall of the bottomsurface of the cover, and the device of measuring the remaining amountof the abrasive for the edger includes: a distance data acquisitionmodule, configured to acquire distance data detected by the distancesensor; remaining amount acquisition module, configured to acquire theremaining amount of the abrasive according to the distance data.

In order to achieve the above object, another aspect of the presentdisclosure provides a device of measuring remaining amount of theabrasive for an edger. The device comprises a processor and a memorystoring one or more programs including instructions that, when executedby the processor, cause the device to execute the operations asdescribed above.

In order to achieve the above purpose, another aspect of the presentdisclosure further provides a measuring device for abrasive allowance ofan edger. The measuring device is an edger, and the edger furtherincludes a cover and an abrase wheel installed inside the cover, abottom surface of the cover is parallel to a rotating shaft of theabrase wheel, abrasives are outside an outer wheel of the abrase wheel,in which a distance sensor is installed on an inner wall of the bottomsurface of the cover, and the processor is communicated with thedistance sensor.

In an embodiment, the edger further comprises an alarm device, and theprocessor is further configured to output alarm information by the alarmdevice when the remaining amount is less than or equal to a presetvalue.

In order to achieve the above purpose, the embodiment of the presentdisclosure further provides a non-transitory storage medium, on which aprogram for measuring a remaining amount of a abrasive for an edger isinstalled, including instructions that, when executed, cause a processorto execute the method operations as describe above.

The embodiment of the present disclosure provides an edger, a method, adevice and a non-transitory storage medium for measuring the remainingamount of abrasives. The edger includes a cover and an abrase wheelinstalled inside the cover, in which the bottom surface of the cover isparallel to the rotating shaft of the abrase wheel, abrasives areinstalled outside the outer wheel of the abrase wheel, and a distancesensor is installed on the inner wall of the bottom surface of thecover. No manual measurement is required, and the remaining amount canbe measured under the working condition of the edger.

BRIEF DESCRIPTION OF THE DRAWINGS

FIG. 1 is a front view of an edger according to an embodiment of thepresent disclosure.

FIG. 2 is a side view of an edger according to an embodiment of thepresent disclosure.

FIG. 3 is a side cross-sectional view of an edger according to anembodiment of the present disclosure.

FIG. 4 is a system schematic diagram of hardware operating environmentinvolved in edger according to an embodiment of the present disclosure.

FIG. 5 is a schematic flow chart of a method for measuring a remainingamount of the abrasive for an edger according to an embodiment of thepresent disclosure.

FIG. 6 is a detailed schematic flow chart regarding the operation S504in a method for measuring a remaining amount of the abrasive for anedger according to an embodiment of the present disclosure.

FIG. 7 is another detailed schematic flow chart regarding the operationS504 in a method for measuring a remaining amount of the abrasive for anedger according to an embodiment of the present disclosure.

FIG. 8 is a structural diagram of a measuring device of a remainingamount of the abrasive for an edger according to an embodiment of thepresent disclosure.

The implementation, functional features and advantages of the presentapplication will be further described with reference to the accompanyingdrawings with the embodiments.

DETAILED DESCRIPTION OF THE EMBODIMENTS

As following, the technical solution in the embodiments of the presentdisclosure will be described clearly and completely with reference tothe drawings in the embodiment of the present application. Obviously,the described embodiment is only a part of the embodiment of the presentapplication, not all of the embodiments. Based on the embodiments in thepresent application, all other embodiments perceived by those ordinaryskills in the art without creative effort should be fallen within theprotection scope of the present application.

It should be noted that all directional indicators (such as upper,lower, left, right, front, rear, etc.) in the embodiment of the presentapplication are only used to explain the relative positionalrelationship, movement, etc. between various components under a certainspecific posture (as shown in the drawings). If the specific posturechanges, the directional indicator will also change accordingly.

The present disclosure provides a method for measuring a remainingamount of the abrasive for an edger. The edger includes a cover and anabrase wheel installed inside the cover, a bottom surface of the coveris parallel to a rotating shaft of the abrase wheel, abrasives areoutside an outer wheel of the abrase wheel, wherein a distance sensor isinstalled on an inner wall of the bottom surface of the cover, and themethod for measuring the remaining amount of the abrasive for the edgerincludes: acquiring distance data detected by the distance sensor;acquiring the remaining amount of the abrasive according to the distancedata.

The embodiment of the present disclosure provides an edger, a method, adevice and a non-transitory storage medium for measuring the remainingamount of abrasives. The edger includes a cover and an abrase wheelinstalled inside the cover, in which the bottom surface of the cover isparallel to the rotating shaft of the abrase wheel, abrasives areinstalled outside the outer wheel of the abrase wheel, and a distancesensor is installed on the inner wall of the bottom surface of thecover. No manual measurement is required, and the remaining amount canbe measured under the working condition of the edger.

Referring to FIGS. 1-3, an edger according to an embodiment of thepresent disclosure includes a cover 2, an abrase wheel 1 installedinside the cover, and a motor (not shown) for driving the abrase wheel 1to rotate. The abrase wheel 1 is fixed inside the cover 2 by itsrotating shaft 6, around which the abrase wheel 1 can rotate. The bottomsurface 21 of the cover 2 is parallel to the rotating shaft 6 of theabrase wheel 1. The distance sensor 5 is mounted on the inner wall ofthe bottom surface 21 of the cover 2. Specifically, an abrase wheel 1may include an outer wheel 3, and may further include a plurality ofequidistantly arranged outer wheels 3, and the outer wheels 3 have thesame ring structure as the center of the abrase wheel 1. The abrasivewhich is arranged outside the outer wheel 34 has a ring structure. Inthe present embodiment, the abrasive 4 is a stone, and the width of theabrasive 4 is the same as that of the outer wheel 3. The cover 2 has arectangular frame structure with one side open, and its bottom surface21 is parallel to the rotating shaft 6 of the abrase wheel 1. When theedger works, the abrase wheel 1 is driven by the motor to rotate at highspeed, and the abrasive 4 begins to grind the cross section of the glassplaced on one side of the edger, until the cross section is groundsmoothly. In the present embodiment, the edger further includes amemory, a processor and a program for measuring the remaining amount ofthe abrasive for the edger stored in the memory and operable on theprocessor.

As shown in FIG. 4, which is a system schematic diagram of hardwareoperating environment involved in edger according to an embodiment ofthe present disclosure.

The edger may include a processor 4001, such as a CPU, a networkinterface 4004, a user interface 4003, a memory 4005, and acommunication bus 4002. In which, the communication bus 4002 isconfigured to implement connection and communication between thesecomponents. The user interface 4003 may include a display, an input unitsuch as a keyboard, and the optional user interface 4003 may furtherinclude a standard wired interface and a wireless interface. The networkinterface 4004 may optionally include a standard wired interface and awireless interface (such as a WI-FI interface). The memory 4005 may be ahigh speed RAM memory or a non-volatile memory such as a disk memory.The memory 4005 may alternatively be a storage device independent of theaforementioned processor 4001,

Optionally, the terminal may further include a camera, RF(RadioFrequency) circuitry, sensors, audio circuit, WiFi modules, etc. Thesensors include light sensors, motion sensors and others. Specifically,the light sensor may include an ambient light sensor, and the ambientlight sensor may adjust the brightness of the display screen accordingto the brightness of ambient light. Of course, the edger can further beequipped with other sensors such as gyroscopes, barometers, hygrometers,thermometers, infrared sensors, etc., which will not be described indetail herein.

It can be appreciated by those skilled in the art that the structure ofthe edger shown in FIG. 4 does not constitute a limitation on the edger,and may include more or fewer components than shown, or some componentsmay be combined, or different components arranged.

As shown in FIG. 4, the memory 4005 as a non-transitory storage mediumcan include an operating system, a network communication module, a userinterface module, and a program for measuring a remaining amount of theabrasive for the edger.

In the edger shown in FIG. 4, the network interface 4004 is mainlyconfigured to connect with the background server for data communicationwith the background server. The user interface 4003 is mainly configuredto connect a client end (user terminal) and communicate data with theclient. The processor 4001 can be configured to call the program formeasuring the remaining amount of the abrasive for the edger stored inthe memory 4005, and execute the following operations: acquiring thedistance data detected by the distance sensor; and acquiring theremaining amount of the abrasive according to the distance data.

In an embodiment, the operation of acquiring the remaining amount of theabrasive according to the distance data includes: acquiring aconsumption amount of the abrasive according to an initial distancebetween the distance sensor and the abrasive, and the distance data; andacquiring the remaining amount of the abrasive according to consumptiondata.

In an embodiment, prior to the operation of acquiring a consumptionamount of the abrasive according to an initial distance between thedistance sensor and the abrasive, and the distance data, the methodfurther includes: acquiring the initial distance detected by thedistance sensor, when the abrasive is detected to have been installed.

In an embodiment, the edger includes two covers and abrase wheelsrespectively installed in the two covers, the outer wheels of the twoabrase wheels are arranged in a staggered way, the distance sensor isinstalled on the inner wall of the bottom surface of each cover, andeach distance sensor is preset with a unique identifier, the operationof acquiring the remaining amount of the abrasive according to thedistance data includes: acquiring the remaining amount of the abrasiveaccording to the distance data; acquiring an identifier of a targetdistance sensor corresponding to the distance data, and acquiringidentity information of abrasives installed in the cover correspondingto the target distance sensor; outputting the identity information ofthe abrasive and the associated remaining amount.

In an embodiment, the edger comprises an alarm device, and the methodfor measuring the remaining amount of the abrasive of the edger furtherincludes: outputting, by the the alarm device, alarm information whenthe remaining amount is less than or equal to a preset value.

In an embodiment, outputting the alarm information includes controllingthe alarm device to output the alarm information.

Referring to FIG. 5, according to an embodiment of the method formeasuring the remaining amount of the abrasive for an edger, the edgerincludes a cover and an abrase wheel installed inside the cover. Abottom surface of the cover is parallel to a rotating shaft of theabrase wheel. abrasives are outside an outer wheel of the abrase wheel,in which a distance sensor is installed on an inner wall of the bottomsurface of the cover. And the method for measuring the remaining amountof the abrasive for the edger includes:

operation S502, acquiring distance data detected by the distance sensor.

Since the distance sensor is arranged on the inner wall of the bottomsurface of the cover and the bottom surface of the cover is parallel tothe rotation axis of the abrase wheel, the distance between the distancesensor and the abrasive arranged outside the outer wheel of the abrasewheel is the closest. The object that is scanned by the scanning signalis the abrasive. When starting the measuring function of to measure theremaining amount of the abrasive for the edger, the edger uses thedistance sensor to transmit scanning signals at a certain scanningfrequency. After receiving the reflected echo signals, the distancesensor calculates and obtains the distance between the distance sensorand the reflective object, and takes the minimum distance data as thedistance data between the distance sensor and the abrasive. In which,the scanning signal can be but not limited to an ultrasonic signal or aninfrared signal. The edger acquires the distance data from the distancesensor. In the present embodiment, the measuring function can beinitiated through an input unit connected with the user interface 4003of the edger, or it can be initiated by controlling a terminalcommunicated with the edger. In which, the input unit can be, but is notlimited to, a keyboard, a button or a rotary switch.

Operation S504, acquiring the remaining amount of the abrasive accordingto the distance data.

In the present embodiment, the remaining amount of the abrasive isreflected by the thickness of the abrasive.

In an embodiment, prior to the operation of acquiring a consumptionamount of the abrasive according to an initial distance between thedistance sensor and the abrasive, and the distance data, the methodfurther includes: acquiring the initial distance detected by thedistance sensor, when the abrasive is detected to have been installed.Referring to FIG. 6, operation 5504 includes:

operation S602, acquiring a consumption amount of the abrasive accordingto an initial distance between the distance sensor and the abrasive, andthe distance data;

operation S604, acquiring the remaining amount of the abrasive accordingto the consumption amount.

After detecting the distance data between the distance sensor and theabrasive, the edger calculates the consumption of the abrasive, andfurther calculates the remaining amount of the abrasive according to theconsumption. Consumption of abrasive=initial distance-distance data.Remaining amount of abrasive=initial amount of abrasive-consumptionamount of abrasive=initial amount of abrasive-initial distance+distancedata. The initial amount of abrasive is the initial thickness ofabrasive used in actual installation.

After obtaining the remaining amount of abrasive, the edger stores theremaining amount for data analysis by user, and optionally displays theremaining amount for data monitoring by workers. Specifically, the edgercan upload the remaining amount to the cloud server for storage via thenetwork, and can further store the remaining amount in the storage unit.The storage unit can be the memory 4005 of the edger or a storage devicein communication with the edger. The edger can transmit the remainingamount to the terminal communicated with the edger via the network, andthe staff can remotely monitor the remaining amount of the abrasive forthe edger through the terminal. The remaining amount can further bedisplayed on the display screen connected with its user interface 4003for the staff to read.

In the present embodiment, a distance sensor is installed on the innerwall of the abrase wheel cover of the edger, and the measured distancebetween the distance sensor and the abrasive surface is detected byusing the distance sensor, and the remaining amount of the abrasive isobtained according to the measured distance without manual measurement,thus realizing the measurement of the abrasive remaining amount in theworking state of the edger.

Referring to FIG. 7, in one embodiment, the edger includes two coversand abrase wheels respectively installed in the two covers. The outerwheels of the two abrase wheels are arranged in a staggered way. Thedistance sensor is installed on the inner wall of the bottom surface ofeach cover, and each distance sensor is preset with a unique identifier.

The operation of acquiring the remaining amount of the abrasiveaccording to the distance data comprises:

operation S702, acquiring the remaining amount of the abrasive accordingto the distance data;

operation S704, acquiring an identifier of a target distance sensorcorresponding to the distance data, and acquiring identity informationof abrasives installed in the cover corresponding to the target distancesensor.

In the present embodiment, two distance sensors are preset with uniqueidentifiers which are different from each other to identify uniqueidentities. Each distance sensor is associated with the identityinformation of the abrase wheel arranged in the same cover, to indicatewhich abrase wheel the distance data detected by each distance sensorbelongs to. In which, the identity information of the abrase wheel canbe a user-defined name, which can be a character identification or aChinese name, such as abrase wheel 1 and abrase wheel 2.

The edger obtains the identification of the target distance sensorcorresponding to the detected distance data, and correspondingly obtainthe identity information of the abrasive which is associated with thetarget distance sensor installed in the same cover as the targetdistance sensor.

operation S706: outputting the identity information of the abrasive andthe associated remaining amount.

The edger outputs the identity information of the abrasive and theassociated remaining amount obtained according to the distance datadetected by the target distance sensor to specifically indicate theremaining amount of the abrasive on the specific abrase wheel.

In the present embodiment, each abrase wheel of the edger iscorrespondingly provided with a distance sensor, and the edger detectsthe distance data of abrasives on each abrase wheel by using a pluralityof distance sensors to further obtain the remaining amount of abrasiveson each abrase wheel. The remaining amount of abrasives on a pluralityof abrase wheels on the edger can be measured more accurately andreliably.

In an embodiment, the edger comprises an alarm device, and the methodfor measuring the remaining amount of the abrasive of the edger furtherincludes: outputting, by the the alarm device, alarm information whenthe remaining amount is less than or equal to a preset value.

In the present embodiment, the edger further includes an alarm device,which can be installed on the edger or installed at other positionsconvenient for users to perceive after being communicated with theedger. When the remaining amount is less than or equal to the presetvalue, the alarm device would output alarm information. The alarm devicecan be at least one of alarm bell, flashing light and display. The alarmbell can output bell alarm information. The flashing lamp can output thealarm information of flashing lights. The display can output the alarminformation of text information, etc. The edger sends out alarminformation through the alarm device. When the user receives the alarminformation, he can take corresponding measures, such as replacingabrasives, to ensure the normal operation of the edger.

Referring to FIG. 8, the present disclosure provides a device ofmeasuring a remaining amount of the abrasive for an edger. The edgerincludes a cover and an abrase wheel installed inside the cover, abottom surface of the cover is parallel to a rotating shaft of theabrase wheel, abrasives are outside an outer wheel of the abrase wheel,wherein a distance sensor is installed on an inner wall of the bottomsurface of the cover, and the device of measuring the remaining amountof the abrasive for the edger includes: a distance data acquisitionmodule 810, configured to acquire distance data detected by the distancesensor; remaining amount acquisition module 820, configured to acquirethe remaining amount of the abrasive according to the distance data.

In the present embodiment, The edger includes a cover and an abrasewheel installed inside the cover, in which the bottom surface of thecover is parallel to the rotating shaft of the abrase wheel, abrasivesare installed outside the outer wheel of the abrase wheel, and adistance sensor is installed on the inner wall of the bottom surface ofthe cover. No manual measurement is required, and the remaining amountcan be measured under the working condition of the edger.

In an embodiment, the remaining amount acquisition module 820 is furtherconfigured to acquire a consumption amount of the abrasive according toan initial distance between the distance sensor and the abrasive, andthe distance data; and acquire the remaining amount of the abrasiveaccording to the consumption amount.

In an embodiment, the device of measuring the remaining amount of theabrasive for the edger further includes an initial distance acquisitionmodule, which is configured to acquire the initial distance detected bythe distance sensor, when the abrasive is detected to have beeninstalled.

In an embodiment, the edger includes two covers and abrase wheelsrespectively installed in the two covers, the outer wheels of the twoabrase wheels are arranged in a staggered way, the distance sensor isinstalled on the inner wall of the bottom surface of each cover, andeach distance sensor is preset with a unique identifier. The remainingamount acquisition module 820, is further configured to acquire theremaining amount of the abrasive according to the distance data; acquirean identifier of a target distance sensor corresponding to the distancedata, and acquire identity information of abrasives installed in thecover corresponding to the target distance sensor; and output theidentity information of the abrasive with the remaining amount.

In an embodiment, the edger includes an alarm device, and the device formeasuring the remaining amount of the abrasive of the edger furtherincludes: an alarming module, configured to output the alarm informationwhen the remaining amount is less than or equal to a preset value.

Another aspect of the present disclosure provides a device of measuringremaining amount of the abrasive for an edger. The device comprises aprocessor and a memory storing one or more programs includinginstructions that, when executed by the processor, cause the device toexecute the operations as described above.

Another aspect of the present disclosure further provides a measuringdevice for abrasive allowance of an edger. The measuring device is anedger, and the edger further includes a cover and an abrase wheelinstalled inside the cover, a bottom surface of the cover is parallel toa rotating shaft of the abrase wheel, abrasives are outside an outerwheel of the abrase wheel, in which a distance sensor is installed on aninner wall of the bottom surface of the cover, and the processor iscommunicated with the distance sensor.

In an embodiment, the edger further comprises an alarm device, and theprocessor is further configured to output alarm information by the alarmdevice when the remaining amount is less than or equal to a presetvalue.

In order to achieve the above purpose, the embodiment of the presentdisclosure further provides a non-transitory storage medium, on which aprogram for measuring a remaining amount of a abrasive for an edger isinstalled, including instructions that, when executed, cause a processorto execute the method operations as describe above.

It should be noted that in this document, the terms “comprising”“including” or any other variation thereof are intended to cover anon-exclusive inclusion, such that a process, method, article, or systemthat includes a list of elements includes not only those elements butfurther other elements not expressly listed, or elements inherent tosuch process, method, article, or system. Without further restrictions,an element defined by the statement “includes an” does not exclude thepresence of another identical element in a process, method, article, orsystem including the element.

The aforementioned serial numbers regarding the embodiments of thepresent application are for description only and do not represent thesuperiority and inferiority of the embodiments.

From the above description of the embodiments, those skilled in the artcan clearly understand that the method of the above embodiments can beimplemented by means of software plus necessary general-purpose hardwareplatforms. Of course, it can further be implemented by means ofhardware, but in many cases the former is a better embodiment. Based onsuch understanding, the technical solution of the present disclosure canbe embodied in the form of a software product, which is stored in anon-transitory storage medium as mentioned above and includes severalinstructions to enable a device to measure the remaining amount of theabrasive for an edger to execute the operations of the method describedin various embodiments of the present disclosure.

The above is only the preferred embodiment of the present disclosure andis not therefore limiting the scope of the present disclosure. Anyequivalent structure or process change made by using the contents of thepresent specification and drawings, or directly or indirectly applied inother related technical fields, shall be included in the protectionscope of the present disclosure.

What is claimed is:
 1. A method for measuring a remaining amount of aabrasive for an edger, wherein the edger comprises a cover and an abrasewheel installed inside the cover, a bottom surface of the cover isparallel to a rotating shaft of the abrase wheel, abrasives are outsidean outer wheel of the abrase wheel, wherein a distance sensor isinstalled on an inner wall of the bottom surface of the cover, and themethod for measuring the remaining amount of the abrasive for the edgercomprises: acquiring distance data detected by the distance sensor; andacquiring the remaining amount of the abrasive according to the distancedata.
 2. The method according to claim 1, wherein the operation ofacquiring the remaining amount of the abrasive according to the distancedata comprises: acquiring a consumption amount of the abrasive accordingto an initial distance between the distance sensor and the abrasive, andthe distance data; and acquiring the remaining amount of the abrasiveaccording to the consumption amount.
 3. The method according to claim 2,wherein prior to the operation of acquiring a consumption amount of theabrasive according to an initial distance between the distance sensorand the abrasive, and the distance data, the method further comprises:acquiring the initial distance detected by the distance sensor, when theabrasive is detected to have been installed.
 4. The method according toclaim 1, wherein the edger comprises two covers and abrase wheelsrespectively installed in the two covers, the outer wheels of the twoabrase wheels are arranged in a staggered way, the distance sensor isinstalled on the inner wall of the bottom surface of each cover, andeach distance sensor is preset with a unique identifier, the operationof acquiring the remaining amount of the abrasive according to thedistance data comprises: acquiring the remaining amount of the abrasiveaccording to the distance data. acquiring an identifier of a targetdistance sensor corresponding to the distance data, and acquiringidentity information of abrasives installed in the cover correspondingto the target distance sensor; and outputting the identity informationof the abrasive and the associated remaining amount.
 5. The methodaccording to claim 1, wherein the edger comprises an alarm device, andthe method for measuring the remaining amount of the abrasive of theedger further comprises: outputting, by the the alarm device, alarminformation when the remaining amount is less than or equal to a presetvalue.
 6. The method according to claim 2, wherein the edger comprisesan alarm device, and the method for measuring the remaining amount ofthe abrasive of the edger further comprises: outputting, by the thealarm device, alarm information when the remaining amount is less thanor equal to a preset value.
 7. The method according to claim 3, whereinthe edger comprises an alarm device, and the method for measuring theremaining amount of the abrasive of the edger further comprises:outputting, by the the alarm device, alarm information when theremaining amount is less than or equal to a preset value.
 8. The methodaccording to claim 4, wherein the edger comprises an alarm device, andthe method for measuring the remaining amount of the abrasive of theedger further comprises: outputting, by the the alarm device, alarminformation when the remaining amount is less than or equal to a presetvalue.
 9. A device of measuring a remaining amount of a abrasive for anedger, wherein the edger comprises a cover and an abrase wheel installedinside the cover, a bottom surface of the cover is parallel to arotating shaft of the abrase wheel, abrasives are outside an outer wheelof the abrase wheel, wherein a distance sensor is installed on an innerwall of the bottom surface of the cover the device comprises a processorand a memory storing one or more programs including instructions that,when executed by the processor, cause the device to execute theoperations: acquiring distance data detected by the distance sensor; andacquiring the remaining amount of the abrasive according to the distancedata.
 10. The device according to claim 9, wherein the operation ofacquiring the remaining amount of the abrasive according to the distancedata comprises: acquiring a consumption amount of the abrasive accordingto an initial distance between the distance sensor and the abrasive, andthe distance data; and acquiring the remaining amount of the abrasiveaccording to the consumption amount.
 11. The device according to claim10, wherein prior to the operation of acquiring a consumption amount ofthe abrasive according to an initial distance between the distancesensor and the abrasive, and the distance data, the method furthercomprises: acquiring the initial distance detected by the distancesensor, when the abrasive is detected to have been installed.
 12. Thedevice according to claim 9, wherein the edger comprises two covers andabrase wheels respectively installed in the two covers, the outer wheelsof the two abrase wheels are arranged in a staggered way, the distancesensor is installed on the inner wall of the bottom surface of eachcover, and each distance sensor is preset with a unique identifier, theoperation of acquiring the remaining amount of the abrasive according tothe distance data comprises: acquiring the remaining amount of theabrasive according to the distance data. acquiring an identifier of atarget distance sensor corresponding to the distance data, and acquiringidentity information of abrasives installed in the cover correspondingto the target distance sensor; and outputting the identity informationof the abrasive and the associated remaining amount.
 13. The deviceaccording to claim 9, wherein the edger comprises an alarm device, andthe method for measuring the remaining amount of the abrasive of theedger further comprises: outputting, by the the alarm device, alarminformation when the remaining amount is less than or equal to a presetvalue.
 14. The device according to claim 10, wherein the measuringdevice is an edger, and the edger further comprises comprises a coverand an abrase wheel installed inside the cover, a bottom surface of thecover is parallel to a rotating shaft of the abrase wheel, abrasives areoutside an outer wheel of the abrase wheel, wherein a distance sensor isinstalled on an inner wall of the bottom surface of the cover, and theprocessor is communicated with the distance sensor.
 15. The deviceaccording to claim 14, wherein the edger further comprises an alarmdevice, and the processor is further configured to output alarminformation by the alarm device when the remaining amount is less thanor equal to a preset value.
 16. A non-transitory storage medium, whereincomprising a program for measuring a remaining amount of a abrasive foran edger, including instructions that, when executed, cause a processorto execute the method operations: acquiring distance data detected bythe distance sensor; and acquiring the remaining amount of the abrasiveaccording to the distance data.
 17. The non-transitory storage mediumaccording to claim 16, wherein the operation of acquiring the remainingamount of the abrasive according to the distance data comprises:acquiring a consumption amount of the abrasive according to an initialdistance between the distance sensor and the abrasive, and the distancedata; and acquiring the remaining amount of the abrasive according tothe consumption amount.
 18. The non-transitory storage medium accordingto claim 17, wherein prior to the operation of acquiring a consumptionamount of the abrasive according to an initial distance between thedistance sensor and the abrasive, and the distance data, the methodfurther comprises: acquiring the initial distance detected by thedistance sensor, when the abrasive is detected to have been installed.19. The non-transitory storage medium according to claim 16, wherein theedger comprises two covers and abrase wheels respectively installed inthe two covers, the outer wheels of the two abrase wheels are arrangedin a staggered way, the distance sensor is installed on the inner wallof the bottom surface of each cover, and each distance sensor is presetwith a unique identifier, the operation of acquiring the remainingamount of the abrasive according to the distance data comprises:acquiring the remaining amount of the abrasive according to the distancedata. acquiring an identifier of a target distance sensor correspondingto the distance data, and acquiring identity information of abrasivesinstalled in the cover corresponding to the target distance sensor; andoutputting the identity information of the abrasive and the associatedremaining amount.
 20. The non-transitory storage medium according toclaim 16, wherein the edger comprises an alarm device, and the methodfor measuring the remaining amount of the abrasive of the edger furthercomprises: outputting, by the the alarm device, alarm information whenthe remaining amount is less than or equal to a preset value.